package com.fusion.lottery.entity.auth;

import javax.validation.constraints.NotNull;

/**
 * 用户权限
 * @author louis
 *
 */
public class Authorization {
	
	@NotNull
	private String userId;//用户id
	
	@NotNull
	private int roleId;//角色id
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

}
